﻿using Super_Management_Mayhem.Content.Spritesheet;
using Transformable_Engine_v2.Engine.Animation.FrameAnimation;

namespace Super_Management_Mayhem.Content.Animations
{
    public class BombLongFuse : FrameAnimationDescription
    {
        public BombLongFuse()
        {
            IsLooping = false;
            AddFrame(0, new FrameDescription(ItemSheet.GetSprite(ItemSheet.BombAnimation.LongFuse0), 1));
            AddFrame(1, new FrameDescription(ItemSheet.GetSprite(ItemSheet.BombAnimation.LongFuse1), 2));
            AddFrame(2, new FrameDescription(ItemSheet.GetSprite(ItemSheet.BombAnimation.LongFuse2), 0));
            FrameRate = 15;
        }
    }

    public class BombMediumFuse : FrameAnimationDescription
    {
        public BombMediumFuse()
        {
            IsLooping = false;
            AddFrame(0, new FrameDescription(ItemSheet.GetSprite(ItemSheet.BombAnimation.MediumFuse0), 1));
            AddFrame(1, new FrameDescription(ItemSheet.GetSprite(ItemSheet.BombAnimation.MediumFuse1), 2));
            AddFrame(2, new FrameDescription(ItemSheet.GetSprite(ItemSheet.BombAnimation.MediumFuse2), 0));
            FrameRate = 20;
        }
    }

    public class BombShortFuse : FrameAnimationDescription
    {
        public BombShortFuse()
        {
            IsLooping = false;
            AddFrame(0, new FrameDescription(ItemSheet.GetSprite(ItemSheet.BombAnimation.ShortFuse0), 1));
            AddFrame(1, new FrameDescription(ItemSheet.GetSprite(ItemSheet.BombAnimation.ShortFuse1), 2));
            AddFrame(2, new FrameDescription(ItemSheet.GetSprite(ItemSheet.BombAnimation.ShortFuse2), 0));
            FrameRate = 25;
        }
    }
}